package com.foreknow.service.impl;

import com.foreknow.dao.ExpenseclassMapper;
import com.foreknow.entity.Expenseclass;
import com.foreknow.service.ExpenseclassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ExpenseclassServiceImpl implements ExpenseclassService {
    @Autowired
    private ExpenseclassMapper expenseclassMapper;

    @Override
    public List<Expenseclass> queryAll() {
        return expenseclassMapper.selectAll();
    }
}